﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace STF.Blog.Model
{
    public class BlogContext:DbContext
    {
        public BlogContext(DbContextOptions<BlogContext> options):base(options)
        {

        }

        public DbSet<Users> Users { get; set; }
        public DbSet<UsersInfo> UsersInfo { get; set; }
        public DbSet<Blog> Blog { get; set; }
        public DbSet<fans> Fans { get; set; }
        public DbSet<Cover> Cover { get; set; }
        public DbSet<Category> CateGory { get; set; }
        public DbSet<BlogCateGory> BlogCateGory { get;set; }
        public DbSet<ClassifyColumn> ClassifyColumn { get; set; }
        public DbSet<ArticleCategoryOwnership> ArticleCategoryOwnership { get; set; }
        public DbSet<ArticleCateGory> ArticleCateGory { get; set;}
        public DbSet<ReleaseForm> ReleaseForm { get; set; }
        public DbSet<Level> Level { get; set; }
        public DbSet<Comment> Comment { get; set; }
        public DbSet<Reply> Reply { get; set; }

        public DbSet<Roles> Roles { get; set; }
        public DbSet<Admins> Admins { get; set; }
        public DbSet<SystemMenus> SystemMenus { get; set; }
        public DbSet<AdminPermissions> AdminPermissions { get; set; }
        public DbSet<Copyright> Copyright { get; set; }
        public DbSet<FriendLink> FriendLink { get; set; }
        public DbSet<Seos> Seos { get; set; }
        public DbSet<WebMenu> WebMenu { get; set; }

    }
}
